//
//  LoginRequestTools.h
//  JinFuThree
//
//  Created by 毛韶谦 on 2018/10/8.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LoginRequestTools : NSObject

/**
 请求验证码
 
 @param number 电话号码
 @param success 成功返回
 @param failure 失败返回
 */
+ (void)SendSmsWithPhoneNumber:(NSString *)number  Success:(nonnull void (^)(_Nullable id responseObject))success Failure:(nonnull void(^)(_Nullable id responseObject,  NSError * _Nullable error))failure;

/**
 登录请求
 
 @param parameters 参数 电话和验证码
 @param success 成功返回
 @param failure 失败返回
 */
+ (void)LoginWithParameters:(NSDictionary *)parameters  Success:(nonnull void (^)(_Nullable id responseObject))success Failure:(nonnull void(^)(_Nullable id responseObject,  NSError * _Nullable error))failure;


@end
